<template>
  <div style="padding-bottom: 26px;min-height: 59px;">
    <div class="k_title_div">
      <!-- <div class="k_title_bac"
           :style="{'background':titleBacColor}">
      </div> -->
      <div class="k_title_bac">
        <!-- <img
          src="http://mahe.jnaw.top/mh/mhsk_photo/gyt.png"
          alt=""
          width="100%"
          height="100%"
        /> -->
      </div>
      <div class="k_title_text">
        {{ title || "" }}
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "big-center-title",
  props: {
    title: {
      type: String,
      default() {
        return "";
      }
    },
    titleBacColor: {
      type: String,
      default() {
        return "linear-gradient(-77deg, #2DC1FF 0%, #3083FF 99%)";
      }
    }
  },
  data() {
    return {
      curPage: 1
    };
  }
};
</script>

<style lang="scss" scoped>
.k_title_div {
  padding-top: 35px;
  position: relative;
  width: fit-content;
  margin: auto;

  .k_title_bac {
    // height: 15px;
    height: 10px;
    max-height: 10px;
    //background: linear-gradient(-77deg, #2DC1FF 0%, #3083FF 99%);
    border-radius: 6px;
    width: 100%;
    position: absolute;
    bottom: -3px;
    background-color: #27d8ff;
    // left: 50%;
    // margin-left: -50%;
  }

  .k_title_text {
    padding: 0 20px;
    font-size: 28px;
    font-family: siyuan_bold;
    font-weight: bold;
    position: inherit;
    line-height: 1;
  }
}
</style>
